<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <title>PyWhip - Keep crackin' it.</title>
    <link rel="stylesheet" href="/static/pywhip.css" type="text/css">
        <script type="text/javascript"
        src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
  google.load("jquery", "1.3.1");
  google.setOnLoadCallback(function() {
    $('table.run_result tbody tr td:last-child').each( function(){
        if  ($(this).text() == 'fail'){
            $(this).parent().addClass('failure')
        }
        else if  ($(this).text() == 'pass'){
            $(this).parent().addClass('success')
        }
    });
  });
</script>
  </head>
  <body>
    <div id="container">
      <div id="header">
        <div id="logo"><a href="/"><img src="/static/pywhip.gif" /></a></div>
        <div id="nav">
          <a href="/">Home</a> |
          <a href="/contribution">Contribution Guidelines</a> |
          <a href="/help">Help</a> |
          <a href="/about">About</a> |
          {% if user %}
            {% if sign_out %}<a href="{{ sign_out }}">Sign out</a>{% endif %}
          {% else %}
            {% if sign_in %}<a href="{{ sign_in }}">Sign in</a>{% endif %}
          {% endif %}
          <br /><br />
          {% if user %}
          You are signed in as <strong>{{ user.nickname }}</strong>
          {% endif %}
        </div>
      </div>
      <div id="content">
          {% block body %}
          {% endblock %}
      </div>
      <div id="footer" style="height:50px; text-align:center;">
        <strong>PyWhip, 2009</strong><br />
        <em>(Powered by Python 2.5 and Google App Engine)</em>
      </div>
    </div>


    <!-- Google Analytics tracking -->
    <script type="text/javascript">
      var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
      document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
      try {
      var pageTracker = _gat._getTracker("UA-7813330-1");
      pageTracker._trackPageview();
      } catch(err) {}</script>
  </body>
</html>
